home *** CD-ROM | disk | FTP | other *** search
- on getTransitionNumber whichTransition
- set allTransitions to field "transitions"
- repeat with i = 1 to the number of lines in allTransitions
- if line i of allTransitions = whichTransition then
- return i
- end if
- end repeat
- end
-
- on transitionRoll whichTransition, time, chunkSize
- set theTransition to getTransitionNumber(whichTransition)
- ProcessFrame()
- if voidp(chunkSize) then
- puppetTransition(theTransition, time)
- else
- puppetTransition(theTransition, time, chunkSize)
- end if
- end
-